package com.pool;


import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import javax.naming.spi.DirStateFactory.Result;

public class Test1 {
	public static void main(String[] args) throws SQLException {
		
	
			TestThread testThread = new  TestThread("jdbc:mysql://localhost:3306/demo1?charset=utf-8", "root", "admin", 5, 20) ;
			testThread.start();
			System.out.println("=====");
			TestThread2 testThread2 = new TestThread2("jdbc:mysql://localhost:3306/demo1?charset=utf-8", "root", "admin", 5, 20);
			testThread2.start();
			System.out.println("------");
			TestThread3 testThread3 = new TestThread3("jdbc:mysql://localhost:3306/demo1?charset=utf-8", "root", "admin", 5, 20);
			testThread3.start();
			System.out.println("------");
			
	
	}

}
